package org.wlc.dao;

import org.wlc.service.UserService2;

/**
 * @author 王立朝
 * @description userDao
 * @date 2021-11-15 14:23:33
 */
public class UserDao2 {

    private UserService2 userService2;


    public void setUserService2(UserService2 userService2) {
        this.userService2 = userService2;
    }

    /**
     * 循环依赖 的问题使用set 注入
     * @param userService2
     */
    //public UserDao2(UserService2 userService2) {
    //    this.userService2 = userService2;
    //}
    

    public void method01() {
        System.out.println("UserDao2, ip地址为： -》");

    }
}
